Delete bundled gcc libs on windows
authorAlex Crichton <alex@alexcrichton.com>
Thu, 4 Dec 2014 06:57:06 +0000 (22:57 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 4 Dec 2014 06:57:06 +0000 (22:57 -0800)
This prevents having mismatches between bundled libs and libs on the system
(Cargo requires MinGW to compile regardless).

.travis.install.deps.sh

index ea8b9e2ec4ea8f21de8b09036ca2923a1d6fd684..90c25a7da98d1cd28ba9c70f73e5867a3fd5ccd7 100755 (executable)
@@ -60,6 +60,8 @@ else
     mv '{app}' rustc
     # Don't use the bundled gcc, see rust-lang/rust#17442
     rm -rf rustc/bin/rustlib/$triple/bin
+    # Don't use bundled gcc libs, see rust-lang/rust#19519
+    rm -rf rustc/bin/rustlib/$triple/libmingw*.a
     rm -f rust-nightly-$triple.exe
 fi